package com.ruoyi.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("llm_faq")
public class LlmFaq {

    @Schema(name = "主键ID")
    @TableId(value = "id")
    private String id;

    @Schema(name = "问题")
    @TableField("question")
    private String question;

    @Schema(name = "答案")
    @TableField("answer")
    private String answer;

    @Schema(name = "问题描述")
    @TableField("question_desc")
    private String questionDesc;

    @Schema(name = "一级分类ID")
    @TableField("category_id")
    private String categoryId;

    @Schema(name = "创建时间")
    @TableField("create_time")
    private String createTime;

    @Schema(name = "是否发布")
    @TableField("is_published")
    private String isPublished;

    @Schema(name = "")
    @TableField("element_id")
    private String elementId;

    @Schema(name = "创建者")
    @TableField("create_by")
    private String createBy;

    @Schema(name = "是否能发布")
    @TableField("can_publish")
    private String canPublish;

}
